import 'package:fish_redux/fish_redux.dart';

import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';
import 'component.dart';
///https://www.jianshu.com/p/f6e5633d424c
class PersonListPage extends Page<PersonListState, Map<String, dynamic>> {
  PersonListPage()
      : super(
            initState: initState,
            effect: buildEffect(),
            reducer: buildReducer(),
            view: buildView,
            dependencies: Dependencies<PersonListState>(
                adapter: null,
                slots: <String, Dependent<PersonListState>>{
                }),
            middleware: <Middleware<PersonListState>>[
            ],);
  //这下面几行是创建component.dart后必须加的
  @override
  ComponentState<PersonListState> createState() {
    return PersonListComponent();
  }
}
